package com.haiyou.dc.thread;

public class StartRun implements Runnable {
    @Override
    public void run() {
        for (int i = 0; i < 20; i++) {
            System.out.println("------------->" + i);
        }
    }

    public static void main(String[] args) {

        new Thread(new StartRun()).start();
    }
}
